<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  <title>std.array</title>
  <link href="./css/style.css" rel="stylesheet" type="text/css"/>
  <!-- <link href="./img/icon.png" rel="icon" type="image/png"/> -->
  <script type="text/javascript" src="./js/jquery.js"></script>
  <script type="text/javascript" src="./js/modules.js"></script>
  <script type="text/javascript" src="./js/quicksearch.js"></script>
  <script type="text/javascript" src="./js/navigation.js"></script>
  <!--<script type="text/javascript" src="./js/jquery.treeview.js"></script>-->
  <script type="text/javascript">
    var g_moduleFQN = "std.array";
  </script>
  
</head>
<body>
<div id="content">
  <h1><a href="./htmlsrc/std.array.html" class="symbol">std.array</a></h1>
  
<dl>
<dt class="decl">template <a class="symbol _template" name="IndexType" href="./htmlsrc/std.array.html#L94" kind="template" beg="94" end="97">IndexType</a><span class="tparams">(C : T[], T)</span>; <a title="Permalink to this symbol" href="#IndexType" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.array.html#L94">#</a></dt>
<dd class="ddef">
<dl>
<dt class="decl">alias size_t <a class="symbol _alias" name="IndexType.IndexType" href="./htmlsrc/std.array.html#L96" kind="alias" beg="96" end="96">IndexType</a>; <a title="Permalink to this symbol" href="#IndexType.IndexType" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.array.html#L96">#</a></dt>
<dd class="ddef"></dd></dl></dd>
<dt class="decl"><a class="symbol _unittest" name="unittest" href="./htmlsrc/std.array.html#L99" kind="unittest" beg="99" end="103">unittest</a>; <a title="Permalink to this symbol" href="#unittest" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.array.html#L99">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">void <a class="symbol _function" name="insert" href="./htmlsrc/std.array.html#L108" kind="function" beg="108" end="148">insert</a><span class="tparams">(T, Range)</span><span class="params">(ref T[] <em>array</em>, size_t <em>pos</em>, Range <em>stuff</em>)</span>; <a title="Permalink to this symbol" href="#insert" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.array.html#L108">#</a></dt>
<dd class="ddef">
<div class="summary">Inserts <span class="d_psymbol"><i>stuff</i></span> in <span class="d_psymbol"><i>container</i></span> at position <span class="d_psymbol"><i>pos</i></span>.</div></dd>
<dt class="decl"><a class="symbol _unittest" name="unittest:2" href="./htmlsrc/std.array.html#L150" kind="unittest" beg="150" end="157">unittest</a>; <a title="Permalink to this symbol" href="#unittest:2" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.array.html#L150">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">void <a class="symbol _function" name="erase" href="./htmlsrc/std.array.html#L163" kind="function" beg="163" end="171">erase</a><span class="tparams">(T)</span><span class="params">(ref T[] <em>array</em>, size_t <em>from</em>, size_t <em>to</em>)</span>; <a title="Permalink to this symbol" href="#erase" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.array.html#L163">#</a></dt>
<dd class="ddef">
<div class="summary">Erases elements from <span class="d_psymbol"><i>array</i></span> with indices ranging from <span class="d_psymbol"><i>from</i></span>
(inclusive) to <span class="d_psymbol"><i>to</i></span> (exclusive).</div></dd>
<dt class="decl"><a class="symbol _unittest" name="unittest:3" href="./htmlsrc/std.array.html#L173" kind="unittest" beg="173" end="178">unittest</a>; <a title="Permalink to this symbol" href="#unittest:3" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.array.html#L173">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">void <a class="symbol _function" name="replace" href="./htmlsrc/std.array.html#L185" kind="function" beg="185" end="211">replace</a><span class="tparams">(T, Range)</span><span class="params">(ref T[] <em>array</em>, size_t <em>from</em>, size_t <em>to</em>, Range <em>stuff</em>)</span>; <a title="Permalink to this symbol" href="#replace" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.array.html#L185">#</a></dt>
<dd class="ddef">
<div class="summary">Replaces elements from <span class="d_psymbol"><i>array</i></span> with indices ranging from <span class="d_psymbol"><i>from</i></span>
(inclusive) to <span class="d_psymbol"><i>to</i></span> (exclusive) with the range <span class="d_psymbol"><i>stuff</i></span>. Expands
or shrinks the array as needed.</div></dd>
<dt class="decl"><a class="symbol _unittest" name="unittest:4" href="./htmlsrc/std.array.html#L213" kind="unittest" beg="213" end="218">unittest</a>; <a title="Permalink to this symbol" href="#unittest:4" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.array.html#L213">#</a></dt>
<dd class="ddef"></dd></dl>
</div>
<div id="footer">
  <p>Copyright © 1999-2008 by Digital Mars ®, All Rights Reserved.</p>
  <p>Page generated by <a href="http://code.google.com/p/dil">dil</a> on Sun Dec 28 04:26:33 2008. Rendered by <a href="http://code.google.com/p/dil/wiki/Kandil">kandil</a>.</p>
</div>
</body>
</html>